package com.just.fun.base;

public class Fun1 {
    static class A{
        public A(){
            i=j++>0?++j:--j;
        }
        private int i;
        private static int j=0;
    }

    public static void main(String[] args) {
        A a1=new A();
        System.out.println(a1.i);
        System.out.println(a2.i);
    }
    static A a2=new A();
}
